
package bankservice.endpoint;

/*import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;*/

	   /*@WebService
	   @SOAPBinding(style = Style.RPC)*/

public interface BankAccountInterface  {           
	
	/**
	 * This remote method returns a message.
	 * @param  name - a String containing a name.
	 * @return a String message.
	 */
	  	   
	    String getAccountNumber();   
	    void setAccountNumber(String accNum) ; 
					
	    String getAccountHolder();				
	    void setAccountHolder(String accHolder);
	   
	    String getAddress();		
	    void setAddress(String accHolderAddress);
	   
	    float getBalance(String accountNumber);
	    void setBalance(float accountBalance);
	    
	    void setTempTransferAmount(float amount);
	   	   
	    void deposite(String accountNumber,float amount);
	    void withdraw(String accountNumber,float amount);
	   	
}














